const courseLibrary = {
  path: '/course-librarys',
  name: 'course-librarys',
  meta: { title: '课程库', type: 1, code: 'kck' },
  redirect: '/course-librarys/course-list',
  component: () => import('@/views/Home/courseLibrary/index.vue'),
  children: [
    {
      path: 'course-list',
      name: 'course-list-home',
      meta: {
        type: 1,
      },
      component: () =>
        import('@/views/Home/courseLibrary/courseList/index.vue'),
    },
    {
      path: 'course-detail',
      name: 'course-detail',
      meta: {
        title: '课程详情',
        type: 1,
        dataType: 1,
        courseId: '',
      },
      component: () =>
        import('@/views/Home/courseLibrary/courseDetail/index.vue'),
      children: [
        {
          path: 'knowdedge-detail',
          name: 'knowdedge-detail',
          meta: {
            title: '知识点详情',
            type: 1,
            dataType: 2,
            knowdedgeId: '',
          },
          component: () =>
            import('@/views/Home/courseLibrary/knowledgeDetail/index.vue'),
        },
      ],
    },
  ],
}
export default courseLibrary
